#!/bin/bash 

DOMAIN="my315ok.xtinfocontent"

# If you want to add another language create folders and empty file:
#   mkdir -p locales/<lang_code>/LC_MESSAGES
#   touch locales/<lang_code>/LC_MESSAGES/$DOMAIN.po
# and run this script
# Example: locales/hu/LC_MESSAGES/$DOMAIN.po

touch locales/$DOMAIN.pot
i18ndude rebuild-pot --pot locales/$DOMAIN.pot --create $DOMAIN .

# sync all locales
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/$DOMAIN.pot locales/*/LC_MESSAGES/$DOMAIN.po

